package com.supermap.desktop.ui;

import com.supermap.desktop.Interface.IDefaultValueCreator;
import com.supermap.desktop.Interface.IXMLCreator;
import com.supermap.desktop.enums.XMLCommandType;

public class XMLStatusbarCreator implements IXMLCreator {
	private XMLCommandBase parent;
//    private IDefaultValueCreator this.defaultValueCreator;
//    public IDefaultValueCreator DefaultValueCreator
//    {
//        get
//        {
//            return this.defaultValueCreator;
//        }
//        set
//        {
//            this.defaultValueCreator = value;
//        }
//    }
//

    public XMLStatusbarCreator(XMLCommandBase parent)
    {
        this.parent = parent;
    }
//
//    public XMLCommandBase CreateElement(XMLCommandType commandType)
//    {
//        XMLDockBarBase result = null;
//        try
//        {
//            PluginInfo pluginInfo = this.DefaultValueCreator.GetDefaultPluginInfo();
//            if (commandType == XMLCommandType.DockBarGroup)
//            {
//                result = new XMLDockBarGroup(pluginInfo, this.parent);
//                (result as XMLDockBarGroup).Key = this.DefaultValueCreator.GetDefaultKey("DockBarGroup");
//                (result as XMLDockBarGroup).Index = this.DefaultValueCreator.GetDefaultIndex();
//            }
//            else if (commandType == XMLCommandType.DockBar)
//            {
//                result = new XMLDockBar(pluginInfo, this.parent);
//                (result as XMLDockBar).Index = this.DefaultValueCreator.GetDefaultIndex();
//                (result as XMLDockBar).Label = this.DefaultValueCreator.GetDefaultLabel("DockBar");
//            }
//        }
//        catch (System.Exception ex)
//        {
//            Application.ActiveApplication.Output.Output(ex.StackTrace, InfoType.Exception);
//        }
//
//        return result;
//    }
	@Override
	public XMLCommandBase createElement(XMLCommandType commandType) {
		// TODO Auto-generated method stub
		return null;
	}
	@Override
	public IDefaultValueCreator getDefaultValueCreator() {
		// TODO Auto-generated method stub
		return null;
	}
	@Override
	public void setDefaultValueCreator(IDefaultValueCreator defaultValueCreator) {
		// TODO Auto-generated method stub
		
	}
}
